﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebNext.Domain.Entities;
using FluentNHibernate.Mapping;

namespace WebNext.DataAccess.Mappings
{
	public class TagMap : EntityMap<Tag>
	{
		public TagMap()
		{
			this.Table("Tags");
			this.Map(e => e.Name);
			this.Map(e => e.Code);
			this.Map(e => e.CultureId).CustomType<CultureId>();
		}
	}
}
